package com.example.demo.entity.primary;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Created by dongjunpeng on 2017/10/31.
 */
@Entity
@Table(name = "vessel_container")
public class VesselContainerEntity implements Serializable {
    private int containerId;
    private String vesselVoyageNumber;
    private String containerNumber;
    private String sizeType;
    private String stuffingStatus;
    private String transferType;
    private String tradeType;
    private String containerType;
    private String cargoType;
    private String operatorCode;
    private String blNumber;
    private String bookingNumber;
    private String vesselCode;
    private String inVoyage;
    private String outVoyage;
    private String containerStatus;
    private String yardPosition;
    private String vesselPosition;
    private String jobType;
    private String portOfLoading;
    private String portOfDischarge;
    private String portOfDestination;
    private BigDecimal weight;
    private String sealNumber;
    private String sequenceNumber;
    private String truckName;
    private String craneName;
    private String craneDriverName;
    private Timestamp orderTime;
    private Timestamp finishTime;
    private Timestamp updateTime;
    private Boolean isMatched;
    private Boolean isDamaged;
    private String damages;
    private String jobQueueCode;
    private String tallyManName;
    private Timestamp tallyConfirmTime;
    private String workshift;
    private String etlAction;
    private Boolean hasError;

    @Id
    @Column(name = "container_id")
    public int getContainerId() {
        return containerId;
    }

    public void setContainerId(int containerId) {
        this.containerId = containerId;
    }

    @Basic
    @Column(name = "vessel_voyage_number")
    public String getVesselVoyageNumber() {
        return vesselVoyageNumber;
    }

    public void setVesselVoyageNumber(String vesselVoyageNumber) {
        this.vesselVoyageNumber = vesselVoyageNumber;
    }

    @Basic
    @Column(name = "container_number")
    public String getContainerNumber() {
        return containerNumber;
    }

    public void setContainerNumber(String containerNumber) {
        this.containerNumber = containerNumber;
    }

    @Basic
    @Column(name = "size_type")
    public String getSizeType() {
        return sizeType;
    }

    public void setSizeType(String sizeType) {
        this.sizeType = sizeType;
    }

    @Basic
    @Column(name = "stuffing_status")
    public String getStuffingStatus() {
        return stuffingStatus;
    }

    public void setStuffingStatus(String stuffingStatus) {
        this.stuffingStatus = stuffingStatus;
    }

    @Basic
    @Column(name = "transfer_type")
    public String getTransferType() {
        return transferType;
    }

    public void setTransferType(String transferType) {
        this.transferType = transferType;
    }

    @Basic
    @Column(name = "trade_type")
    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    @Basic
    @Column(name = "container_type")
    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    @Basic
    @Column(name = "cargo_type")
    public String getCargoType() {
        return cargoType;
    }

    public void setCargoType(String cargoType) {
        this.cargoType = cargoType;
    }

    @Basic
    @Column(name = "operator_code")
    public String getOperatorCode() {
        return operatorCode;
    }

    public void setOperatorCode(String operatorCode) {
        this.operatorCode = operatorCode;
    }

    @Basic
    @Column(name = "bl_number")
    public String getBlNumber() {
        return blNumber;
    }

    public void setBlNumber(String blNumber) {
        this.blNumber = blNumber;
    }

    @Basic
    @Column(name = "booking_number")
    public String getBookingNumber() {
        return bookingNumber;
    }

    public void setBookingNumber(String bookingNumber) {
        this.bookingNumber = bookingNumber;
    }

    @Basic
    @Column(name = "vessel_code")
    public String getVesselCode() {
        return vesselCode;
    }

    public void setVesselCode(String vesselCode) {
        this.vesselCode = vesselCode;
    }

    @Basic
    @Column(name = "in_voyage")
    public String getInVoyage() {
        return inVoyage;
    }

    public void setInVoyage(String inVoyage) {
        this.inVoyage = inVoyage;
    }

    @Basic
    @Column(name = "out_voyage")
    public String getOutVoyage() {
        return outVoyage;
    }

    public void setOutVoyage(String outVoyage) {
        this.outVoyage = outVoyage;
    }

    @Basic
    @Column(name = "container_status")
    public String getContainerStatus() {
        return containerStatus;
    }

    public void setContainerStatus(String containerStatus) {
        this.containerStatus = containerStatus;
    }

    @Basic
    @Column(name = "yard_position")
    public String getYardPosition() {
        return yardPosition;
    }

    public void setYardPosition(String yardPosition) {
        this.yardPosition = yardPosition;
    }

    @Basic
    @Column(name = "vessel_position")
    public String getVesselPosition() {
        return vesselPosition;
    }

    public void setVesselPosition(String vesselPosition) {
        this.vesselPosition = vesselPosition;
    }

    @Basic
    @Column(name = "job_type")
    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    @Basic
    @Column(name = "port_of_loading")
    public String getPortOfLoading() {
        return portOfLoading;
    }

    public void setPortOfLoading(String portOfLoading) {
        this.portOfLoading = portOfLoading;
    }

    @Basic
    @Column(name = "port_of_discharge")
    public String getPortOfDischarge() {
        return portOfDischarge;
    }

    public void setPortOfDischarge(String portOfDischarge) {
        this.portOfDischarge = portOfDischarge;
    }

    @Basic
    @Column(name = "port_of_destination")
    public String getPortOfDestination() {
        return portOfDestination;
    }

    public void setPortOfDestination(String portOfDestination) {
        this.portOfDestination = portOfDestination;
    }

    @Basic
    @Column(name = "weight")
    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    @Basic
    @Column(name = "seal_number")
    public String getSealNumber() {
        return sealNumber;
    }

    public void setSealNumber(String sealNumber) {
        this.sealNumber = sealNumber;
    }

    @Basic
    @Column(name = "sequence_number")
    public String getSequenceNumber() {
        return sequenceNumber;
    }

    public void setSequenceNumber(String sequenceNumber) {
        this.sequenceNumber = sequenceNumber;
    }

    @Basic
    @Column(name = "truck_name")
    public String getTruckName() {
        return truckName;
    }

    public void setTruckName(String truckName) {
        this.truckName = truckName;
    }

    @Basic
    @Column(name = "crane_name")
    public String getCraneName() {
        return craneName;
    }

    public void setCraneName(String craneName) {
        this.craneName = craneName;
    }

    @Basic
    @Column(name = "crane_driver_name")
    public String getCraneDriverName() {
        return craneDriverName;
    }

    public void setCraneDriverName(String craneDriverName) {
        this.craneDriverName = craneDriverName;
    }

    @Basic
    @Column(name = "order_time")
    public Timestamp getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Timestamp orderTime) {
        this.orderTime = orderTime;
    }

    @Basic
    @Column(name = "finish_time")
    public Timestamp getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Timestamp finishTime) {
        this.finishTime = finishTime;
    }

    @Basic
    @Column(name = "update_time")
    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "is_matched")
    public Boolean getIsMatched() {
        return isMatched;
    }

    public void setIsMatched(Boolean isMatched) {
        this.isMatched = isMatched;
    }

    @Basic
    @Column(name = "is_damaged")
    public Boolean getIsDamaged() {
        return isDamaged;
    }

    public void setIsDamaged(Boolean isDamaged) {
        this.isDamaged = isDamaged;
    }

    @Basic
    @Column(name = "damages")
    public String getDamages() {
        return damages;
    }

    public void setDamages(String damages) {
        this.damages = damages;
    }

    @Basic
    @Column(name = "job_queue_code")
    public String getJobQueueCode() {
        return jobQueueCode;
    }

    public void setJobQueueCode(String jobQueueCode) {
        this.jobQueueCode = jobQueueCode;
    }

    @Basic
    @Column(name = "tally_man_name")
    public String getTallyManName() {
        return tallyManName;
    }

    public void setTallyManName(String tallyManName) {
        this.tallyManName = tallyManName;
    }

    @Basic
    @Column(name = "tally_confirm_time")
    public Timestamp getTallyConfirmTime() {
        return tallyConfirmTime;
    }

    public void setTallyConfirmTime(Timestamp tallyConfirmTime) {
        this.tallyConfirmTime = tallyConfirmTime;
    }

    @Basic
    @Column(name = "workshift")
    public String getWorkshift() {
        return workshift;
    }

    public void setWorkshift(String workshift) {
        this.workshift = workshift;
    }

    @Basic
    @Column(name = "etl_action")
    public String getEtlAction() {
        return etlAction;
    }

    public void setEtlAction(String etlAction) {
        this.etlAction = etlAction;
    }

    @Basic
    @Column(name = "has_error")
    public Boolean getHasError() {
        return hasError;
    }

    public void setHasError(Boolean hasError) {
        this.hasError = hasError;
    }
}
